plugindir = $(libdir)/pidgin

plugin_LTLIBRARIES =  pidgindbus.la

pidgindbus_la_SOURCES = \
			dbus-service.cpp \
			dbus-service.h \
			pidgindbus-impl.cpp \
			pidgindbus.c \
			pidgindbus.h \
			utils.cpp \
			utils.h 

pidgindbus_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include $(PIDGIN_CFLAGS) $(PURPLE_CFLAGS) $(DBUSCXX_CFLAGS)
pidgindbus_la_LIBADD = $(PIDGIN_LIBS) $(PURPLE_LIBS) $(DBUSCXX_LIBS) -lpthread
pidgindbus_la_LDFLAGS = -module -avoid-version -shared -no-undefined

# Below is shell program for testing
#noinst_PROGRAMS = shell 
#shell_SOURCES      = shell.cpp 
#shell_CPPFLAGS     = $(pidgindbus_la_CPPFLAGS)
#shell_LDADD        = pidgindbus.la
#shell_LDFLAGS      = $(pidgindbus_la_LDFLAGS)
